package com.qyt.hotel.service.impl;

import com.qyt.hotel.dao.RoomStateMapper;
import com.qyt.hotel.entity.RoomState;
import com.qyt.hotel.service.RoomStateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoomStateServiceImpl implements RoomStateService {

    @Resource
    private RoomStateMapper roomStateMapper;

    @Override
    public List<RoomState> getRoomStateList() {
        return roomStateMapper.getRoomStateList();
    }

    @Override
    public List<RoomState> getRoomStateListForAdd() {
        return roomStateMapper.getRoomStateListForAdd();
    }

    @Override
    public List<RoomState> getRoomStateListForUpdate() {
        return roomStateMapper.getRoomStateListForUpdate();
    }
}
